<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>CryptHelperQt: FileHandler Klassenreferenz</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">CryptHelperQt
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Erzeugt von Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Suchen');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Hauptseite</span></a></li>
      <li><a href="namespaces.html"><span>Namensbereiche</span></a></li>
      <li class="current"><a href="annotated.html"><span>Klassen</span></a></li>
      <li><a href="files.html"><span>Dateien</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Suchen" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Auflistung&#160;der&#160;Klassen</span></a></li>
      <li><a href="classes.html"><span>Klassen-Verzeichnis</span></a></li>
      <li><a href="inherits.html"><span>Klassenhierarchie</span></a></li>
      <li><a href="functions.html"><span>Klassen-Elemente</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classFileHandler.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Alle</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Klassen</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namensbereiche</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Dateien</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Funktionen</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variablen</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Makrodefinitionen</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Öffentliche Methoden</a> &#124;
<a href="classFileHandler-members.html">Aufstellung aller Elemente</a>  </div>
  <div class="headertitle">
<div class="title">FileHandler Klassenreferenz</div>  </div>
</div><!--header-->
<div class="contents">

<p>Stellt die Funktionen zum Zugriff auf Dateien bereit.  
 <a href="classFileHandler.html#details">Mehr ...</a></p>

<p><code>#include &lt;<a class="el" href="filehandler_8h_source.html">filehandler.h</a>&gt;</code></p>
<div class="dynheader">
Klassendiagramm für FileHandler:</div>
<div class="dyncontent">
<div class="center"><img src="classFileHandler__inherit__graph.png" border="0" usemap="#FileHandler_inherit__map" alt="Inheritance graph"/></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">Legende</a>]</span></center></div>
<div class="dynheader">
Zusammengehörigkeiten von FileHandler:</div>
<div class="dyncontent">
<div class="center"><img src="classFileHandler__coll__graph.png" border="0" usemap="#FileHandler_coll__map" alt="Collaboration graph"/></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">Legende</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Öffentliche Methoden</h2></td></tr>
<tr class="memitem:a05021cda3604e44ef090ad8d37776bd1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileHandler.html#a05021cda3604e44ef090ad8d37776bd1">FileHandler</a> (QObject *parent=0)</td></tr>
<tr class="memdesc:a05021cda3604e44ef090ad8d37776bd1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Der Konstruktor zu <a class="el" href="classFileHandler.html" title="Stellt die Funktionen zum Zugriff auf Dateien bereit.">FileHandler</a>.  <a href="#a05021cda3604e44ef090ad8d37776bd1">Mehr ...</a><br/></td></tr>
<tr class="separator:a05021cda3604e44ef090ad8d37776bd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0226d05807ef84422d5bb266096b28be"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileHandler.html#a0226d05807ef84422d5bb266096b28be">readFileText</a> (QString inputfile)</td></tr>
<tr class="separator:a0226d05807ef84422d5bb266096b28be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69ed7d566d1c9c11935e0101bd01c73b"><td class="memItemLeft" align="right" valign="top">QByteArray&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileHandler.html#a69ed7d566d1c9c11935e0101bd01c73b">readFileBinary</a> (QString inputfile)</td></tr>
<tr class="separator:a69ed7d566d1c9c11935e0101bd01c73b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a558a4c146036f090eb9944308e7526f4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileHandler.html#a558a4c146036f090eb9944308e7526f4">writeFileText</a> (QString outputfile, int decr, QString content)</td></tr>
<tr class="separator:a558a4c146036f090eb9944308e7526f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00ecc953fe0ac02713186bbd71c6ece6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileHandler.html#a00ecc953fe0ac02713186bbd71c6ece6">writeFileBinary</a> (QByteArray content, QString outputfile, int decr)</td></tr>
<tr class="separator:a00ecc953fe0ac02713186bbd71c6ece6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Ausführliche Beschreibung</h2>
<div class="textblock"><p>Stellt die Funktionen zum Zugriff auf Dateien bereit. </p>
<p>Diese Klasse stellt die Funktionen zum lesen und schreiben von Dateien bereit. </p>

<p>Definiert in Zeile <a class="el" href="filehandler_8h_source.html#l00023">23</a> der Datei <a class="el" href="filehandler_8h_source.html">filehandler.h</a>.</p>
</div><h2 class="groupheader">Beschreibung der Konstruktoren und Destruktoren</h2>
<a class="anchor" id="a05021cda3604e44ef090ad8d37776bd1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">FileHandler::FileHandler </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Der Konstruktor zu <a class="el" href="classFileHandler.html" title="Stellt die Funktionen zum Zugriff auf Dateien bereit.">FileHandler</a>. </p>
<p>Initialisiert Variablen wenn welche gebraucht werden. </p>

<p>Definiert in Zeile <a class="el" href="filehandler_8cpp_source.html#l00009">9</a> der Datei <a class="el" href="filehandler_8cpp_source.html">filehandler.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Dokumentation der Elementfunktionen</h2>
<a class="anchor" id="a69ed7d566d1c9c11935e0101bd01c73b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QByteArray FileHandler::readFileBinary </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>inputfile</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Liest Dateien binär ein und gibt sie als QByteArray aus. </p>
<dl class="params"><dt>Parameter</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">inputfile</td><td>Der Pfad inkl. Dateiname der Datei die eingelesen werden soll. </td></tr>
  </table>
  </dd>
</dl>

<p>Definiert in Zeile <a class="el" href="filehandler_8cpp_source.html#l00033">33</a> der Datei <a class="el" href="filehandler_8cpp_source.html">filehandler.cpp</a>.</p>

<p><div class="dynheader">
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:</div>
<div class="dyncontent">
<div class="center"><img src="classFileHandler_a69ed7d566d1c9c11935e0101bd01c73b_icgraph.png" border="0" usemap="#classFileHandler_a69ed7d566d1c9c11935e0101bd01c73b_icgraph" alt=""/></div>
<map name="classFileHandler_a69ed7d566d1c9c11935e0101bd01c73b_icgraph" id="classFileHandler_a69ed7d566d1c9c11935e0101bd01c73b_icgraph">
<area shape="rect" id="node2" href="classWidget.html#ad6cdcf18146bcf760f08cbcdd2797084" title="Widget::ENCRstartEncrypt" alt="" coords="232,5,411,32"/><area shape="rect" id="node3" href="classWidget.html#a29531c7f141e461322981b3b579d4590" title="Der Konstruktor zu Widget." alt="" coords="685,5,797,32"/><area shape="rect" id="node4" href="classWidget.html#a0ea9601d232d8bdf068f48b68d8c7c89" title="Widget::ENCRstartDecrypt" alt="" coords="459,31,637,57"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a0226d05807ef84422d5bb266096b28be"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString FileHandler::readFileText </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>inputfile</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Liest Textdateien ein und gibt sie als QString aus. </p>
<dl class="params"><dt>Parameter</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">inputfile</td><td>Der Pfad inkl. Dateiname der Datei die eingelesen werden soll. </td></tr>
  </table>
  </dd>
</dl>

<p>Definiert in Zeile <a class="el" href="filehandler_8cpp_source.html#l00018">18</a> der Datei <a class="el" href="filehandler_8cpp_source.html">filehandler.cpp</a>.</p>

<p><div class="dynheader">
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:</div>
<div class="dyncontent">
<div class="center"><img src="classFileHandler_a0226d05807ef84422d5bb266096b28be_icgraph.png" border="0" usemap="#classFileHandler_a0226d05807ef84422d5bb266096b28be_icgraph" alt=""/></div>
<map name="classFileHandler_a0226d05807ef84422d5bb266096b28be_icgraph" id="classFileHandler_a0226d05807ef84422d5bb266096b28be_icgraph">
<area shape="rect" id="node2" href="classWidget.html#ad6cdcf18146bcf760f08cbcdd2797084" title="Widget::ENCRstartEncrypt" alt="" coords="221,5,400,32"/><area shape="rect" id="node4" href="classWidget.html#a0ea9601d232d8bdf068f48b68d8c7c89" title="Widget::ENCRstartDecrypt" alt="" coords="448,56,627,83"/><area shape="rect" id="node3" href="classWidget.html#a29531c7f141e461322981b3b579d4590" title="Der Konstruktor zu Widget." alt="" coords="675,31,787,57"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a00ecc953fe0ac02713186bbd71c6ece6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileHandler::writeFileBinary </td>
          <td>(</td>
          <td class="paramtype">QByteArray&#160;</td>
          <td class="paramname"><em>content</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>outputfile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>decr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Schreibt binär in die Ausgabedatei </p>
<dl class="params"><dt>Parameter</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">content</td><td>der QString der in die Datei geschrieben werden soll. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">outputfile</td><td>Der Pfad inkl. Dateiname der Datei die geschrieben werden soll. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">decr</td><td>Gibt an ob ver- oder entschlüsselt wurde damit der Dateiname angepasst wird: true = entschlüsseln, false = verschlüsseln. </td></tr>
  </table>
  </dd>
</dl>

<p>Definiert in Zeile <a class="el" href="filehandler_8cpp_source.html#l00086">86</a> der Datei <a class="el" href="filehandler_8cpp_source.html">filehandler.cpp</a>.</p>

<p><div class="dynheader">
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:</div>
<div class="dyncontent">
<div class="center"><img src="classFileHandler_a00ecc953fe0ac02713186bbd71c6ece6_icgraph.png" border="0" usemap="#classFileHandler_a00ecc953fe0ac02713186bbd71c6ece6_icgraph" alt=""/></div>
<map name="classFileHandler_a00ecc953fe0ac02713186bbd71c6ece6_icgraph" id="classFileHandler_a00ecc953fe0ac02713186bbd71c6ece6_icgraph">
<area shape="rect" id="node2" href="classWidget.html#a02f176d6b25d51256f64f284f799c3b7" title="Widget::ENCRbinPKey" alt="" coords="235,5,391,32"/><area shape="rect" id="node3" href="classWidget.html#ad6cdcf18146bcf760f08cbcdd2797084" title="Widget::ENCRstartEncrypt" alt="" coords="440,5,619,32"/><area shape="rect" id="node4" href="classWidget.html#a29531c7f141e461322981b3b579d4590" title="Der Konstruktor zu Widget." alt="" coords="893,5,1005,32"/><area shape="rect" id="node5" href="classWidget.html#a0ea9601d232d8bdf068f48b68d8c7c89" title="Widget::ENCRstartDecrypt" alt="" coords="667,31,845,57"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a558a4c146036f090eb9944308e7526f4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileHandler::writeFileText </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>outputfile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>decr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>content</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Schreibt Text in die Ausgabedatei </p>
<dl class="params"><dt>Parameter</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">outputfile</td><td>Der Pfad inkl. Dateiname der Datei die geschrieben werden soll. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">decr</td><td>Gibt an ob ver- oder entschlüsselt wurde damit der Dateiname angepasst wird: true = entschlüsseln, false = verschlüsseln. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">content</td><td>der QString der in die Datei geschrieben werden soll. </td></tr>
  </table>
  </dd>
</dl>

<p>Definiert in Zeile <a class="el" href="filehandler_8cpp_source.html#l00049">49</a> der Datei <a class="el" href="filehandler_8cpp_source.html">filehandler.cpp</a>.</p>

<p><div class="dynheader">
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:</div>
<div class="dyncontent">
<div class="center"><img src="classFileHandler_a558a4c146036f090eb9944308e7526f4_icgraph.png" border="0" usemap="#classFileHandler_a558a4c146036f090eb9944308e7526f4_icgraph" alt=""/></div>
<map name="classFileHandler_a558a4c146036f090eb9944308e7526f4_icgraph" id="classFileHandler_a558a4c146036f090eb9944308e7526f4_icgraph">
<area shape="rect" id="node2" href="classWidget.html#a9534b28476ceefacb4eddf0103acbb0b" title="Widget::ENCRtextCaesar" alt="" coords="221,31,392,57"/><area shape="rect" id="node3" href="classWidget.html#ad6cdcf18146bcf760f08cbcdd2797084" title="Widget::ENCRstartEncrypt" alt="" coords="440,5,619,32"/><area shape="rect" id="node5" href="classWidget.html#a0ea9601d232d8bdf068f48b68d8c7c89" title="Widget::ENCRstartDecrypt" alt="" coords="667,56,845,83"/><area shape="rect" id="node4" href="classWidget.html#a29531c7f141e461322981b3b579d4590" title="Der Konstruktor zu Widget." alt="" coords="893,31,1005,57"/></map>
</div>
</p>

</div>
</div>
<hr/>Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien:<ul>
<li><a class="el" href="filehandler_8h_source.html">filehandler.h</a></li>
<li><a class="el" href="filehandler_8cpp_source.html">filehandler.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classFileHandler.html">FileHandler</a></li>
    <li class="footer">Erzeugt am Fre Mai 10 2013 08:32:46 für CryptHelperQt von
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.3.1 </li>
  </ul>
</div>
</body>
</html>
